import {createRouter,createWebHashHistory } from 'vue-router'

const routes=[{
    path:"/",
    redirect:"/home"
},
{
    path:"/home",
    name:"home",
    component:()=>import("../views/Home/index.vue")
},
{
    path:"/cate",
    name:"cate",
    component:()=>import("../views/Cate/index.vue")
},
{
    path:"/mine",
    name:"mine",
    component:()=>import("../views/Mine/index.vue"),
},
{
     path:"/game",
    name:"game",
    component:()=>import("../views/Game/index.vue")
},
{
     path:"/end",
    name:"end",
    component:()=>import("../views/End/index.vue")
},
{
     path:"/pinia",
     name:"pinia",
    component:()=>import("../views/Pinia/index.vue")
},
{
     path:"/kill",
     name:"kill",
    component:()=>import("../views/KILL/index.vue")
}
]
// 
const router=createRouter({
  history:createWebHashHistory(),
  routes
})
export default router